package com.hotelvip.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotelvip.common.pojo.PageObject;
import com.hotelvip.dto.VipUserDTO;
import com.hotelvip.entity.User;
import com.hotelvip.entity.VipUser;
import com.hotelvip.vo.UserVo;
import com.hotelvip.vo.VipInfoVo;

import java.util.List;

public interface VipUserService extends IService<VipUser> {


    Long saveVipUser(VipUserDTO vipUserDTO);

    UserVo findByUserId(Long userId);

    PageObject<UserVo> queryVipUserByPage(String key, Integer page, Integer rows, String phoneNum);

    List<VipUser> findVipCardByUserId(Long userId);

    void deleteVipUserById(Long userId);

    List<User> selectName(String key);

    void doUpdateVipStatus(Long id, Integer status);

    Object getVitem(VipUserDTO vipUserDTO);

    List<VipInfoVo> getVipInfo(String key);
}
